mps_agent_diag
Configuration for MPS Agent diag information resource.
Read/write properties
geo<String>
agent pop geo information.
download<Integer>
Agent diag download.citrixnetworkapi.net state.
pop<String>
agent pop information.
trust<Integer>
Agent diag trust.citrixnetworkapi.net state.
proxy<Integer>
Agent diag proxy configured or not.
cas<Integer>
Agent diag cas endpoint state.
dns<Integer>
Agent diag DNS state.
s3<Integer>
Agent diag s3 endpoint state.
endtime<String>
endtime of the agent diag.
id<String>
Id is the agent id.
grp<Integer>
Agent diag adm.cloud.com state.
adm<Integer>
Agent diag adm.cloud.com state.
agent<Integer>
Agent diag adm.cloud.com state.
Operations
NOTE: In request payload, Mandatory parameters are marked red and bold.
The following parameters can be used in the nitro request :
onerror <String_value>
Use this parameter to set the onerror status for nitro request. Applicable only for bulk requests.
Default value: EXIT
Possible values = EXIT, CONTINUE
URL:https://<MGMT-IP>/nitro/v2/config/mps_agent_diag
Query-parameters:
filter
https://<MGMT-IP>/nitro/v2/config/mps_agent_diag?filter=property-name1:property-value1,property-name2:property-value2
Use this query-parameter to get the filtered set of mps_agent_diag resources configured on the system. You can set a filter on any property of the resource.
pagesize=#no&pageno=#no
https://<MGMT-IP>/nitro/v2/config/mps_agent_diag?pagesize=#no&pageno=#no
Use this query-parameter to get the mps_agent_diag resources in chunks.
count
https://<MGMT-IP>/nitro/v2/config/mps_agent_diag?count=yes
Use this query-parameter to get the count of mps_agent_diag resources.
HTTPS Method:GET
Request Headers:
Accept:application/json
X-NITRO-USER:username_value<String>
X-NITRO-PASS:password_value<String>
or
Cookie:NITRO_AUTH_TOKEN=token_value<String>
Response:
HTTPS Status Code on Success: 200 OK HTTPS Status Code on Failure: 4xx
Response Headers:
Content-Type:application/json
Response Payload:JSON
{ "errorcode": 0, "message": "Done", "severity": <String_value>, "mps_agent_diag":[{
"geo":<String_value>,
"download":<Integer_value>,
"pop":<String_value>,
"trust":<Integer_value>,
"proxy":<Integer_value>,
"cas":<Integer_value>,
"dns":<Integer_value>,
"s3":<Integer_value>,
"endtime":<String_value>,
"id":<String_value>,
"grp":<Integer_value>,
"adm":<Integer_value>,
"agent":<Integer_value>}]}
URL:https://<MGMT-IP>/nitro/v2/config/mps_agent_diag/id_value<String>
HTTPS Method:GET
Request Headers:
Accept:application/json
X-NITRO-USER:username_value<String>
X-NITRO-PASS:password_value<String>
or
Cookie:NITRO_AUTH_TOKEN=token_value<String>
Response:
HTTPS Status Code on Success: 200 OK HTTPS Status Code on Failure: 4xx
Response Headers:
Content-Type:application/json
Response Payload:JSON
{ "errorcode": 0, "message": "Done", "severity": <String_value>, "mps_agent_diag":[{
"geo":<String_value>,
"download":<Integer_value>,
"pop":<String_value>,
"trust":<Integer_value>,
"proxy":<Integer_value>,
"cas":<Integer_value>,
"dns":<Integer_value>,
"s3":<Integer_value>,
"endtime":<String_value>,
"id":<String_value>,
"grp":<Integer_value>,
"adm":<Integer_value>,
"agent":<Integer_value>}]}
URL:https://<MGMT-IP>/nitro/v2/config/mps_agent_diag/id_value<String>
HTTPS Method:DELETE
Request Headers:
X-NITRO-USER:username_value<String>
X-NITRO-PASS:password_value<String>
or
Cookie:NITRO_AUTH_TOKEN=token_value<String>
Response:
HTTPS Status Code on Success: 200 OK HTTPS Status Code on Failure: 4xx
Response Payload:JSON
{ "errorcode": 0, "message": "Done", "severity": <String_value> }